package com.bytedance.ttnet.hostmonitor;

import android.util.Log;

public final class Logger {
    LogLevel a;


    private Logger() {
        LogLevel v0 = com.bytedance.common.utility.Logger.debug() ? LogLevel.DEBUG : LogLevel.OFF;
        this.a = v0;
        new a();
    }

    Logger(byte arg1) {
        this();
    }

    public static void a(String arg2, String arg3) {
        if (b.a().a.compareTo(LogLevel.DEBUG) <= 0) {
            b.a();
            Log.d(arg2, arg3);
        }
    }

    public enum LogLevel {
        DEBUG,
        INFO,
        ERROR,
        OFF
    }

    static final class b {
        private static final Logger a;

        static {
            a = new Logger();
        }

        static Logger a() {
            return b.a;
        }
    }

    public final class a {
        public a() {

        }
    }
}

